package spring.framework.beans.factory;

import spring.framework.beans.BeansException;

/**
 * @author fun.pengzh
 * @class spring.framework.beans.factory.ObjectFatory
 * @desc Defines a factory which can return an Object instance
 * (possibly shared or independent) when invoked.
 * @since 2021-12-18
 */
public interface ObjectFatory<T> {

    T getObject() throws BeansException;

}
